home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness:…ecision-Making Strategies / Workplace Effectiveness: Decision-Making Strategies.iso / pc / Files / Plan.dxr / 00004_Hint stuff.ls < prev    next >
Encoding:
Text File  |  1998-12-16  |  421 b   |  23 lines

  1. global gPlanNum, gHintOn
  2.  
  3. on toggleHint
  4.   if gHintOn then
  5.     clearHint()
  6.   else
  7.     showHint()
  8.   end if
  9. end
  10.  
  11. on showHint
  12.   set vHintSprite to 11
  13.   set the member of sprite vHintSprite to member ("hint" & string(gPlanNum))
  14.   set the loc of sprite vHintSprite to point(320, 240)
  15.   set gHintOn to 1
  16. end
  17.  
  18. on clearHint
  19.   set vHintSprite to 11
  20.   set the loc of sprite vHintSprite to point(-2222, -2222)
  21.   set gHintOn to 0
  22. end
  23.